/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.wind.roof;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.wind.WindConstants;

public class WindRoofSlopeListBox extends AbstractClassificationSchemeListBox {

	private WindConstants constants;

	public WindRoofSlopeListBox()
	{
		
		constants = (WindConstants)GWT.create(WindConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaWindRoofSlopeUNKNOWN(), "0 = Unknown");
		this.addItem(constants.schemaWindRoofSlopeLESS10(), "1 = Less than 10 degrees");
		this.addItem(constants.schemaWindRoofSlope11TO20(), "2 = 11 to 20 degrees");
		this.addItem(constants.schemaWindRoofSlope21TO30(), "3 = 21 to 30 degrees");
		this.addItem(constants.schemaWindRoofSlope31TO45(), "4 = 31 to 45 degrees");
		this.addItem(constants.schemaWindRoofSlope46TO60(), "5 = 46 to 60 degrees");
		this.addItem(constants.schemaWindRoofSlopeGREATER60(), "6 = Greater than 60 degrees");
	}
	
/*
# roof slope
schemaWindRoofSlopeUNKNOWN=Unknown
schemaWindRoofSlopeLESS10=Less than 10 degrees
schemaWindRoofSlope11TO20=11 to 20 degrees
schemaWindRoofSlope21TO30=21 to 30 degrees
schemaWindRoofSlope31TO45=31 to 45 degrees
schemaWindRoofSlope46TO60=45 to 60 degrees
schemaWindRoofSlopeGREATER60=Greater than 60 degrees
0 = Unknown
1 = Less than 10 degrees
2 = 11 to 20 degrees
3 = 21 to 30 degrees
4 = 31 to 45 degrees
5 = 46 to 60 degrees
6 = Greater than 60 degrees

 */	
}
